package com.itedge.solutionmanager.domain.impl;

import javax.validation.constraints.Size;

import javax.persistence.Column;
import javax.persistence.Embeddable;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;

import com.itedge.solutionmanager.enumeration.Country;

@Embeddable
public class Address {

    @Size(max = 255)
    @Column(name="CITY")
    private String city;

	@Size(max = 255)
    @Column(name="STREET")
    private String street;  
    
    @Size(max = 255)
    @Column(name = "ZIP_CODE")
    private String zipCode;
 
    @Size(max = 255)
    @Column(name = "TEL_NUMBER")
    private String telNumber;  
    
    @Size(max = 255)
    @Column(name = "EMAIL")
    private String email; 
    
    @Enumerated(EnumType.ORDINAL)
    @Column(name="COUNTRY")
    private Country country;    
    
    public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getStreet() {
		return street;
	}

	public void setStreet(String street) {
		this.street = street;
	}

	public String getZipCode() {
		return zipCode;
	}

	public void setZipCode(String zipCode) {
		this.zipCode = zipCode;
	}

	public String getTelNumber() {
		return telNumber;
	}

	public void setTelNumber(String telNumber) {
		this.telNumber = telNumber;
	}

	public Country getCountry() {
		return country;
	}

	public void setCountry(Country country) {
		this.country = country;
	}
}
